$OpenBSD: patch-src_orb_orb-core_corba-orb_c,v 1.1 2013/03/27 17:58:44 ajacoutot Exp $

From f4fd676c4864155bad10cf5a49ea5d9a0f3c1e9a Mon Sep 17 00:00:00 2001
From: Kjartan Maraas <kmaraas@gnome.org>
Date: Tue, 11 Jan 2011 22:48:59 +0000
Subject: Support for custom GMainContext from Ke Wang

--- src/orb/orb-core/corba-orb.c.orig	Tue Feb  9 13:05:35 2010
+++ src/orb/orb-core/corba-orb.c	Wed Mar 27 10:55:31 2013
@@ -1442,6 +1442,12 @@ ORBit_get_giop_recv_limit (void)
 	return giop_recv_get_limit ();
 }
 
+void
+ORBit_set_giop_main_context (GMainContext *context)
+{
+	giop_set_main_context (context);
+}
+
 const ORBit_option orbit_supported_options[] = {
 	{ "ORBid",              ORBIT_OPTION_STRING,  NULL }, /* FIXME: unimplemented */
 	{ "ORBImplRepoIOR",     ORBIT_OPTION_STRING,  NULL }, /* FIXME: unimplemented */
